/*
 * Copyright (c) 2010 CWI Amsterdam and others. All rights reserved.
 * This program and the accompanying materials are made available
 * under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *    CWI Amsterdam - initial API and implementation
 */
package nl.cwi.arne.diagram.application;

import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
import org.eclipse.ui.console.IConsoleConstants;

/**
 * @generated
 */
public class DiagramEditorPerspective implements IPerspectiveFactory {

	/**
	 * @generated NOT
	 */
	public void createInitialLayout(IPageLayout layout) {

		layout.setEditorAreaVisible(true);
		layout
				.addPerspectiveShortcut(DiagramEditorWorkbenchAdvisor.PERSPECTIVE_ID);

		IFolderLayout left = layout.createFolder("left", IPageLayout.LEFT,
				0.4f, layout.getEditorArea());
		left.addView("nl.cwi.arne.ui.views.activations");

		IFolderLayout bottom = layout.createFolder("bottom",
				IPageLayout.BOTTOM, 0.6f, layout.getEditorArea());
		bottom.addView(IPageLayout.ID_PROP_SHEET);
		bottom.addView("org.eclipse.pde.runtime.LogView");
		bottom.addView(IConsoleConstants.ID_CONSOLE_VIEW);
		
	}

}
